package com.bolingcavalry.crm.sales.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.sales0rder.SalesOrder;
import com.vo.SalesOrderVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SalesMapper extends BaseMapper<SalesOrder> {

    List<Long> selectOrderIdsByProductNames(List<String> productNames);

    SalesOrderVO findCompanyAndSalesPersonByOrder(Long id);
}
